import { ref } from 'vue'
import { TColor, TPoint } from '@/utils/types'

export const useColorRef = () => {
  const attrs: Record<TColor, number> = {
    red: 0,
    yellow: 0,
    green: 0
  }
  return ref(attrs)
}

export const usePointRef = () => {
  const attrs: Record<TPoint, number> = {
    person: 0,
    bar: 0,
    seven: 0,
    star: 0,
    watermelon: 0,
    bell: 0,
    mango: 0,
    orange: 0,
    apple: 0
  }
  return ref(attrs)
}